package cn.janus.service;

import cn.janus.entity.Users;
import cn.janus.pojo.dto.UserDTO;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.security.core.userdetails.UserDetailsService;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author janus
 * @since 2024-07-30
 */
public interface IUserService extends IService<Users> {

    void saveUser(UserDTO userDTO);

    String login(UserDTO userDTO);
}
